package org.xserver.component.json.bean;

import org.xserver.component.annotation.Description;

import com.fasterxml.jackson.annotation.JsonFilter;

/**
 * Front side use jQuery lib, this instance is template tab like the
 * jquery.ui.tabs. When front side need generate tab, use this javaBean easy.
 * 
 * @author idoldefine
 * 
 */
@JsonFilter("except-field-filter")
public class JQueryTab {
	@Description("id")
	private String id;
	@Description("title")
	private String title;
	@Description("内容")
	private String content;
	@Description("i")
	private int i;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getI() {
		return i;
	}

	public void setI(int i) {
		this.i = i;
	}

	@Override
	public String toString() {
		return "JQueryTab [id=" + id + ", title=" + title + ", content="
				+ content + ", i=" + i + "]";
	}

}
